declare function foo(bar: string): string;